<template>
  <div class="header">
    城市选择
    <router-link tag="div" to="/" class="header-left">
      <span class="iconfont back">&#xe624;</span>
    </router-link>
  </div>
</template>

<script>

export default {
  name: 'CityHeader',
  data () {
    return {

    }
  },
  methods: {

  }
}

</script>

<style lang="stylus" scoped>
  @import '~@/assets/styles/variables.styl'
  .header
    position: relative
    overflow: hidden
    line-height: 3rem
    text-align: center
    background: $bgcolor
    color: #fff
    font-size: 1.2rem
    .header-left
      position: absolute
      top: 0
      left: 0
      width: 3rem
      .back
        font-size: 1.2rem
        margin: 0 auto
</style>





